<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>作业</title>
    <style type="text/css">
.table1{
    border: 1px solid rgb(226, 48, 167);
    margin: 0 auto;
    table-layout: fixed;
    border-collapse: collapse;
}
.table1 th,.table1 td{
  border: 1px solid rgb(226, 48, 167);
}
</style>
</head>
<body>
    <body>
        <table class="table1">
          <caption>产品月销量</caption>
            <tr>
              <th>ID</th>
              <th>产品名称</th>
              <th>销量</th>
            </tr>
          </thead>
          <tbody align="center">
            <tr>
              <td>2021090901</td>
              <td>马克杯</td>
              <td>5000</td>
            </tr>
            <tr>
              <td>2021090901</td>
              <td>啤酒杯</td>
              <td>5200</td>
            </tr>
            <tr>
              <td>2021090901</td>
              <td>搪瓷杯</td>
              <td>3500</td>
            </tr>
          </tbody>
          <tfoot bgcolor="#99CCFF">
            <tr>
              <th colspan="2">统计</th>
              <th>13700</th>
            </tr>
          </tfoot>
        </table>
 
</body>
</html>